package com.lyy.system.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lyy.system.entity.Product;
import org.apache.ibatis.annotations.Param;

public interface ProductMapper extends BaseMapper<Product> {

    /**
     * 物资资料列表
     * @param page
     * @param wrapper
     * @return
     */
    IPage<Product> queryProuctList(Page<Product> page, @Param(Constants.WRAPPER) QueryWrapper<Product> wrapper);
}
